From: kfraser@localhost.localdomain Date: Mon, 10 Jul 2006 16:38:41 +0000 (+0100) Subject: Shared libs have traditionally been installed as executables due to X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15871 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=27e92b03cf51e814ee26202c96dc855865fb636b;p=xen.git Shared libs have traditionally been installed as executables due to some long ago accidents of implementation in historical Unixes. And there are various tools which "expect" it (... and this is why they get created as executable by default by ld). Switching to INSTALL_LIB here although I think the whole "define all the ways you're going to use install" in this makefile a _smidge_ overkill Signed-off-by: Jeremy Katz --- diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 30b30b3ced..d6b143e1c6 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -5,6 +5,7 @@ XEN_LIBXC = $(XEN_ROOT)/tools/libxc INSTALL = install INSTALL_DATA = $(INSTALL) -m0644 INSTALL_PROG = $(INSTALL) -m0755 +INSTALL_LIBS = $(INSTALL) -m0755 INSTALL_DIR = $(INSTALL) -d -m0755 PROFILE=#-pg @@ -171,7 +172,7 @@ install: all $(INSTALL_PROG) xenstore-control $(DESTDIR)/usr/bin $(INSTALL_PROG) xenstore-ls $(DESTDIR)/usr/bin $(INSTALL_DIR) -p $(DESTDIR)/usr/$(LIBDIR) - $(INSTALL_DATA) libxenstore.so $(DESTDIR)/usr/$(LIBDIR) + $(INSTALL_LIBS) libxenstore.so $(DESTDIR)/usr/$(LIBDIR) $(INSTALL_DATA) xs.h $(DESTDIR)/usr/include $(INSTALL_DATA) xs_lib.h $(DESTDIR)/usr/include